$(function() {
  var e = $(".main");
  return new Handsontable(e.get(0),{
    data: [
      ["login_name", "登录名", "C(9)", "N", "Y", ""], 
      ["password", "密码", "C(9)", "N", "N", ""],
      ["chinese_name", "中文名", "C(10)", "N", "N", ""], 
      ["english_name", "英文名", "C(10)", "Y", "N", ""], 
      ["gender", "性别", "C(1)", "Y", "N", ""], 
      [pGL.Map("allmap");
    var point = new BMapGL.Point(114.529963, 38.003679);
      map.centerAndZoom(point, 15);
        
        var marker = new BMapGL.Marker(point);  // 创建标注
          map.addOverlay(marker);              // 将标注添加到地图中
          var opts = {
                  width : 100,     // 信息窗口宽度
              height: 100,     // 信息窗口高度
              title : "SPA富应用开发" , // 信息窗口标题
              message:"这里是故宫"
      
          }
            var infoWindow = new BMapGL.InfoWindow("时间：周三、周四、周五\n地点：软件学院", opts);  // 创建信息窗口对象 
              marker.addEventListener("click", function(){          
                  map.openInfoWindow(infoWindow, point); //开启信息窗口
                }); "address", "家庭住址", "C(100)", "Y", "N", ""], 
      ["mobile", "联系电话", "C(15)", "Y", "N", ""], 
      ["comment", "备注", "C(100)", "Y", "N", ""]
    ],

    contextMenu: !0,
    manualRowResize: !0,
    manualColumnResize: !0,
    rowHeaders: !0,
    colHeaders: ["字段", "说明", "数据类型", "允许为空", "主键", "备注"]         
  })});
